#! /usr/bin/bash

dirname=$(pwd)

cd $dirname/src/_nms/ && python setup.py build_ext -b $dirname/cylib/ && rm -rf build/
cd $dirname/src/_polyiou && python setup.py build_ext -b $dirname/cylib/ && rm -rf build/
cp $dirname/src/*.py $dirname/cylib/